import { createApp } from 'vue'
import App from './App.vue'

import './assets/main.css'
import idc from './idcone/IdcOne.vue'
import datapicker from './idcone/datapicker.vue'
import idctwo from './idctwo/IdcTwo.vue'
import bingtu from './idctwo/bingtu.vue'
import zhuzhuangtu from './idctwo/zhuzhuangtu.vue'
import Tiao from './idctwo/tiaotu.vue'
import PageFooter from './idctwo/PageFooter.vue'
import FooterJump from './idctwo/FooterJump.vue'

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
// import 'element-plus/theme-chalk/el-tabs.css'
import * as echarts from 'echarts';
import * as ElementPlusIconsVue from '@element-plus/icons-vue'

import router from './router'
import test from '../src/test.vue'
const app = createApp(test)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}

app.config.globalProperties.$echarts = echarts
app.use(ElementPlus)
app.use(router)
app.mount('#app')
